package com.hqq.behaviour.chain;

/**
 * OrcKing
 * Created by heqianqian on 2017/6/16.
 */
public class OrcKing {

    private RequestHandler chain;

    public OrcKing() {
        buildChain();
    }

    private void buildChain() {
        chain = new OrcCommander(new OrcOfficier(new OrcSoldier(null)));
    }

    public void markRequest(Request req) {
        chain.handleRequest(req);
    }
}
